package org.bonorsoft.modules.control.service.impl;

import org.bonorsoft.modules.control.entity.Label;
import org.bonorsoft.modules.control.entity.Unit;
import org.bonorsoft.modules.control.mapper.UnitMapper;
import org.bonorsoft.modules.control.service.IUnitService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 实有单位信息
 * @Author: WilliamYe
 * @Date:   2021-03-03
 * @Version: V1.0
 */
@Service
public class UnitServiceImpl extends ServiceImpl<UnitMapper, Unit> implements IUnitService {

    @Resource
    private UnitMapper unitMapper;

    @Override
    public List<Label> getLabel(String dzbm) {
        return unitMapper.getLabel(dzbm);
    }
}
